package com.fjzx.androidframe.base.annotation.injector;


import com.fjzx.androidframe.base.annotation.MultiItemView;

/**
 * 多布局item注解处理器
 *
 * @author xiongyongcong
 */
public class MultiItemViewInjector {
    public static int[] inject(Object object) {
        if (object.getClass().isAnnotationPresent(MultiItemView.class)) {
            MultiItemView multiItemView = object.getClass().getAnnotation(MultiItemView.class);
            return multiItemView.value();
        }
        return null;
    }
}
